﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunboxsoft.ASMS.Client.Domain.WebRef
{
    public partial class VCustomer
    {
        public string GenderText
        {
            get
            {
                return Constant.Genders.GetText(this.Gender);
            }
        }

        public string VIPLevelText
        {
            get
            {
                if (this.VIPLevelCode == "1001")
                {
                    return "普卡会员";
                }
                else if (this.VIPLevelCode == "1002")
                {
                    return "银卡会员";
                }
                else if (this.VIPLevelCode == "1003")
                {
                    return "金卡会员";
                }
                else if (this.VIPLevelCode == "1004")
                {
                    return "钻石卡会员";
                }
                return VIPLevelCode;
            }
        }
    }
}
